package org.example.servlet;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet(name = "OrderUpdateServlet",urlPatterns = "/order/edit")
public class OrderUpdateServlet extends HttpServlet {
    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        String id = req.getParameter("id");
        String userId = req.getParameter("userId");
        String number = req.getParameter("number");
        String createtime = req.getParameter("createtime");
        String note = req.getParameter("note");
        System.out.println("id="+id+",useId="+userId+",number="+number+"，createtime="+createtime);


    }
}
